package com.xnyzc.lhy.order.service.sms;


import com.baomidou.mybatisplus.extension.service.IService;
import com.xnyzc.lhy.order.entity.sms.OaSmsErrorCode;
import com.xnyzc.lhy.order.entity.system.OaSysGlobalConfig;

/**
 * <p>
 * 验证码错误次数统计 服务类
 * </p>
 *
 * @author liuju
 * @since 2019-07-22
 */
public interface IOaSmsErrorCodeService extends IService<OaSmsErrorCode> {
    /**
     *  获取用户错误次数
     * @param oaSysGlobalConfig
     * @param phone
     * @param userType
     * @param tag
     * @return
     */
    Boolean getCheckErrorCount(OaSysGlobalConfig oaSysGlobalConfig, String phone, Integer userType, String tag);
}
